4D Chart v13CT SET DATE SCALE |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT SET DATE SCALE
|
CT SET DATE SCALE ( area ; object ; minAuto ; maxAuto ; majIncrAuto ; minIncrAuto ; minimum ; maximum ; majIncrType ; majorIncr ; minIncrType ; minorIncr ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Chart object | |||||
object | Longint |
![]() |
Object ID | |||||
minAuto | Integer |
![]() |
Use default minimum? -1 = No change 0 = No 1 = Yes | |||||
maxAuto | Integer |
![]() |
Use default maximum? -1 = No change 0 = No 1 = Yes | |||||
majIncrAuto | Integer |
![]() |
Use default major increment? -1 = No change 0 = No 1 = Yes | |||||
minIncrAuto | Integer |
![]() |
Use default minor increment? -1 = No change 0 = No 1 = Yes | |||||
minimum | Date |
![]() |
Minimum value | |||||
maximum | Date |
![]() |
Maximum value | |||||
majIncrType | Integer |
![]() |
Use default major increment type? -1 = No change 1 = Days 2 = Weeks 3 = Months 4 = Years | |||||
majorIncr | Integer |
![]() |
Major increment | |||||
minIncrType | Integer |
![]() |
Use default minor increment type? -1 = No change 1 = Days 2 = Weeks 3 = Months 4 = Years | |||||
minorIncr | Integer |
![]() |
Minor increment | |||||
Use CT SET DATE SCALE to use the default values or to set alternative values for the Values axis scale.
CT SET DATE SCALE is used when the values are dates.
minAuto and maxAuto specify whether to use the default minimum and maximum values.
majIncrAuto and minIncrAuto specify whether to use the default major and minor increments.
minimum and maximum are the alternative minimum and maximum values.
majIncrType and minIncrType are codes for the units in which the majorIncr and minorIncr parameters are specified.
majorIncr and minorIncr are the alternative major and minor increments.
This example creates a chart from the database and sets the scale values.
ARRAY INTEGER(aYFields;2)
aYFields{1}:=2
aYFields{2}:=3
$ChartID:=CT Chart selection(Area;2;1;1;Table(->[Customer]);Field(->[Customer]Customer Type);aYFields)
CT SET DATE SCALE(Area;$ChartID;0;0;0;0;0;!01/01/90!;!12/30/95!;4;1;3;1)
Product: 4D Chart
Theme: CT Chart
Number:
14542
Created: 4D Chart 1
CT GET DATE SCALE
CT GET REAL SCALE
CT SET REAL SCALE